// header 模块
const actions = {}

const mutations = {
  SHOW_LOGIN_LINK(state, isShow) {
    state.showLogin = isShow
  },
  SHOW_REGISTER_LINK(state, isShow) {
    state.showRegister = isShow
  },
  SHOW_LOGOUT_LINK(state, isShow) {
    state.showLogout = isShow
  }
}

const state = {
  showLogin: true,
  showRegister: true,
  showLogout: true
}

const getters = {}

export default {
  namespaced: true,
  actions,
  mutations,
  state,
  getters
}
